package adapter.objectadapter;

/**
 * @author wcj
 * @Date 2021/6/22 22:06
 * @Version 1.0
 */
public class Adapter implements Target {

 private Source source = new Source();

 @Override
 public void editText() {
  System.out.println("编辑文本文件!");
 }

 @Override
 public void editWorld() {
  source.editWorld();
 }
}
